﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes.actions {
    import Classes.*;

    public class ActionFn extends BaseAction {

        protected var m_callback:Function;

        public function ActionFn(_arg1:MapResource, _arg2:Function){
            super(_arg1);
            this.m_callback = _arg2;
        }
        override public function update(_arg1:Number):void{
            super.update(_arg1);
            this.m_callback();
            m_mapResource.actionQueue.removeState(this);
        }

    }
}//package Classes.actions 
